//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "tyr_artillery\fn_pveh.sqf"
#include <core_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

private ["_event_name","_event_params"];
PARAMS_2(_event_name, _event_params);

switch (_event_name) do {
	case QGVAR(CALLARTY): {
		if (isServer) then {
			_event_params call FUNC(fire);
		};
	};
	case QGVAR(INFORMPLAYER): {
		if (!isDedicated) then {
			_event_params call FUNC(informPlayer);
		};
	};
};

TRACE("End");
TMFPROFILERSTOP;
